import templates, { TemplatesProps } from './templates'
import { createStore } from "vuex";
import user, { UserProps } from './user'
import editor, { EditorProps } from './editor'
export interface GlobalDataProps {
  user: UserProps;
  templates: TemplatesProps;
  editor: EditorProps;
}

const stores = createStore({
  modules:{
    user,
    templates,
    editor
  }
})

export default stores